<?xml version='1.0'?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">

<xsl:output method='xml'
	indent="yes"
	omit-xml-declaration="yes"
	doctype-public = "-//W3C//DTD XHTML 1.0 Strict//EN"
	doctype-system = "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"
	/>


<!-- includes -->
<xsl:include href="admin_template.xsl"/>

<!-- parameters -->
<xsl:param name="_logout_successful"/>


<xsl:template match="/">
<html>

<!-- html head -->
<xsl:call-template name="admin_head">
	<xsl:with-param name="_title">Logout</xsl:with-param>
</xsl:call-template>


<body>
	<!-- content -->
<div id="admin_content_div">

<!-- display form -->
<xsl:if test= "($_logout_successful)!='false'">
	<div id="logout_form_div">
		<h3>Successfull logout!</h3>
		<a>
			<xsl:attribute name="href">index.php?op=blog</xsl:attribute>Back
		</a>
	</div>
</xsl:if>

<xsl:if test= "($_logout_successful)!='true'">
	<h3>User is not logged in!</h3>
	<a>
		<xsl:attribute name="href">index.php?op=auth</xsl:attribute>Login
	</a>
</xsl:if>
</div>

</body>
</html>
</xsl:template>

</xsl:stylesheet>
